package com.xuan.friend.service.user;

import com.xuan.api.domain.vo.UserQuestionResultVo;
import com.xuan.friend.domain.question.vo.QuestionDetailVo;
import com.xuan.friend.domain.user.UserSubmit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuan.friend.domain.user.dto.UserSubmitDTO;


/**
* @author ASUS
* @description 针对表【tb_user_submit(用户提交表)】的数据库操作Service
* @createDate 2024-12-04 16:42:35
*/
public interface UserQuestionService extends IService<UserSubmit> {

    UserQuestionResultVo submit(UserSubmitDTO userSubmitDTO);

    boolean rabbitSubmit(UserSubmitDTO userSubmitDTO);

    UserQuestionResultVo getExeResult(Long questionId, Long contestId, String currentTime);

    QuestionDetailVo questionReset(Long questionId, Long contestId);
}
